home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Arsenal / OS2 Arsenal v1.0 (Disc 1)(Arsenal Computer).ISO / os2_text / cenvi2t.txt < prev    next >
Text File  |  1994-09-11  |  13KB  |  267 lines

  1. Program Archive Name: CEnvi2.zip
  2.  
  3. Program: CEnvi version 1.009 for OS/2 2.x
  4.  
  5. Short description:
  6.           CEnvi for OS/2 is a shareware C interpreter that doubles as a
  7.           batch/REXX enhancer or replacement.  CEnvi makes C as easy to use
  8.           as a batch language, but with much more power.
  9.  
  10. Long description:
  11.           Cmm (C minus minus) is 'C' for the rest of us.  CEnvi runs Cmm
  12.           programs in the DOS, Windows, OS/2, NT, etc... environments.
  13.           Together, CEnvi and Cmm make the power and flexibility of the C
  14.           programming language part of every computer user's environment,
  15.           without the hardware, time, and programmer resources needed for
  16.           developing full-blown C programs.
  17.  
  18.           With CEnvi and Cmm, anyone can take control of their computer
  19.           environment.  C is not just for programming nerds anymore.  CEnvi
  20.           utilites, macros, batch files, and scripts can quickly be
  21.           created, shared, and modified among all computer users,
  22.           professional and amateur alike.
  23.  
  24.           CEnvi can be incorporated at a pace that is comfortable to you:
  25.           you may just want to use CEnvi code set up by a more experienced
  26.           user, you may want to enhance existing batch files with a line or
  27.           two of CEnvi code, or you may write complete utilities using
  28.           CEnvi.
  29.  
  30.           nearly 100 samples are included, demonstrating such tasks as:
  31.           looping in batch files, setting the NumLock key, killing processes,
  32.           calling DLLs, deleting directory trees, opening desktop folders,
  33.           scheduling task times and priorities, controlling PMSHELL and WPS,
  34.           fine-tuning DOS sessions and appearances, sending keystrokes
  35.           to PM and Windowed applications, menu selections, automating
  36.           DOS, Windows, and OS/2 sessions, and much more...
  37.  
  38. CEnvi source:
  39.           Nombas                       Internet: bsn@world.std.com
  40.           PO BOX 875                   CompuServe: 72212,1622
  41.           MEDFORD MA 02155-0007  USA   BBS: (617)391-6595,,,,,44444
  42.                                        Phone: (617)391-6595, (617)391-5289
  43.  
  44. ************************* CENVI2.ZIP FILE LIST *************************
  45.  
  46. CENVI2.ZIP, the Unregistered Shareware CEnvi package for OS/2, contains the
  47. following files:
  48.  
  49. *CENVI.EXE: CEnvi shareware executable for DOS, OS/2, or Windows.
  50. *CENVI2PM.EXE: Gateway program, executed transparently by CEnvi, for access
  51.   to PM-dependent system calls
  52. *CENVI.DOC: CEnvi Shareware Manual, Chapter 1: CEnvi Unregistered Shareware
  53. *CMMTUTOR.DOC: CEnvi Shareware Manual, Chapter 2: Cmm Language Tutorial
  54. *CMM_VS_C.DOC: CEnvi Shareware Manual, Chapter 3: Cmm versus C, for C
  55.   Programmers
  56. *CENVILIB.DOC: CEnvi Shareware Manual, Chapter 4: Function Library
  57. *LICENSE.DOC: CEnvi Unregistered Shareware License Agreement
  58. *README.DOC: Introductory file. Read this first for quick intallation.
  59. *REGISTER.DOC: CEnvi registration form
  60. *INSTALL.CMM: Cmm source file for installing this shareware version
  61. *AllDirs.cmd: Perform a command in this directory and all
  62.   sub-directories
  63. *AllFiles.cmd: Perform a command on all files matching a given
  64.   file specification
  65. *AltHome.cmd: Switch OS/2 session between windowed and
  66.   full-screen, much like ALT-HOME works in DOS sessions
  67. *BarClock.cmd: Display time in title bar of active window
  68. *BatLoops.cmd: Examples of various methods CEnvi can use to
  69.   allow looping within batch files
  70. *BattMem.cmm: Show values stored in a PC's battery-protected
  71.   memory
  72. *BckGrnd.cmd: Specify a new file as your desktop background
  73.   image
  74. *Bouncy.cmd: Start a bouncy OS/2 Command Window. This
  75.   demonstrates moving windows and silliness.
  76. *BoxFont.cmd: Show and alter default font for DOS and OS/2
  77.   command-line windows
  78. *CDfind.cmd: Change to directory based on name search
  79. *CEnviSet.cmd: This file can be used instead of CEnvi.exe if
  80.   you are using environment variables as Cmm variables and need
  81.   them to be changed in the current OS/2 environment.
  82. *ClipBrd.cmd: Get or modify clipboard text
  83. *ClipBrd.lib: Library of routines for reading from or writing
  84.   to the clipboard
  85. *CmmEdit.cmm: VERY simple text editor; developed step-by-step
  86.   in the tutorial chapter of the CEnvi User Manual.
  87. *Comm.lib: Serial communications routines
  88. *DelOld.cmd: Delete files older than specified age
  89. *DelTree.cmd: Delete a directory tree
  90. *DeskLock.cmd: Lock or unlock desktop
  91. *DevIOCtl.lib: Function library for OS/2's DosDevIOCTL
  92.   functions
  93. *DirDiff.cmm: Compare two directory listings for differences
  94. *DiskFree.cmd: Display free space on a disk drive
  95. *DlgCtrl.lib: Library of routines for interactive with PM
  96.   dialog boxes and other windows with sub-windows - this
  97.   library is only in its early stages
  98. *DoFiles.cmd: Perform any command on a list of files selected
  99.   from a file dialog box
  100. *DoList.cmd: Perform action on every element of a list
  101. *DoMenu.cmd: Execute any menu selection of a PM application,
  102.   based on the name of the window and the menu text
  103. *DOS.cmd: Perform DOS command from an OS/2 session, with the
  104.   option to "see" output of the command; mirrors OS2.BAT
  105. *DosCalls.lib: Example library of "wrapper" function calls to
  106.   OS/2 API calls in the DosCalls library.  This file is
  107.   "#include"ed in many of the other example files.
  108. *DosFromW.bat: Run DOS command from WIN/OS2, then switch back
  109.   to WIN/OS2
  110. *DropMany.cmd: Drag many files for single launch of program
  111.   object
  112. *DumpIni.cmd: Display profile settings from a .INI file; uses
  113.   Profile.lib
  114. *DupLines.cmm: Find duplicated lines in a text file
  115. *EditCmd.cmd: Use PM's file dialog (via FileDlg.lib) to select
  116.   a *.cmd file to edit.
  117. *ErrLev.cmd: Execute a command and set the ERRLEV value as the
  118.   return code, which makes ERRORLEVEL a variable
  119. *ExamineW.cmd: Display lots of data about any PM window on the
  120.   desktop, and sub-windows (this file in early stages)
  121. *Fibonacc.cmm: Two methods for generating the Fibonacci
  122.   sequence
  123. *FileDlg.lib: A simple interface to the WinFileDlg() PM
  124.   function.  This library file is #include'd in some of the
  125.   other CEnvi sample files.
  126. *FileFind.cmd: Wildcard search for files on current drive or on
  127.   all drives
  128. *FileIO.lib: Function to interface directly with OS/2's File IO
  129. *Find#.cmm: Extract a number from wordy output; used by
  130.   DirStat.bat
  131. *FranTick.cmm: Animated tick who drank too much coffee
  132. *GetUKey.cmd: Display a choice prompt and then set an
  133.   environment variable based on user's selection
  134. *GiveMem.lib: Library of routines for shareing memory with
  135.   other applications whose memory is otherwise "protected"
  136. *Hello.cmm: My first Cmm program. Used to begin the Cmm
  137.   tutorial.
  138. *HexDump.cmd: Display hexadecimal dump of a file
  139. *HideTask.cmd: Hide task from the Task List window
  140. *IDLE.cmd: Change process priority to run a CEnvi program only
  141.   during system idle time.
  142. *IdleProg.cmd: Execute a program in the background; i.e., run
  143.   only during system idle time.
  144. *Install.cmm: Install this version of CEnvi.
  145. *IsItFri.cmd: Is it Friday?
  146. *IsRun.cmd: Is process XXXXX running?
  147. *KbdRate.cmd: Alter the typematic rate of the keyboard; in many
  148.   cases faster than OS/2 Keyboard tool can set it
  149. *KeyCode.cmd: Display keycode of any key pressed
  150. *KeyGhost.cmd: Sample for using KeyPush.lib to determine if
  151.   CEnvi is worth the price of registration.
  152. *KeyPush.cmd: Send keystroke commands directly to a window by
  153.   window title; a quick interface into KeyPush.lib
  154. *KeyPush.lib: Library of routines for sending keystrokes to PM
  155.   or Windowed applications.
  156. *KeyState.cmd: Get or set the state of the NumLock, CapsLock,
  157.   or Insert keys for current session or for the whole WPS
  158. *Kill.cmd: Terminate a running process by Process ID, Window
  159.   title, full name, or partial name
  160. *MenuCtrl.lib: Library of routines for interactive with PM
  161.   menus
  162. *MiniTemp.cmd: Temporarily minimize all windows to icons
  163. *MsgBox.lib: A wrapper library for the PM WinMessageBox()
  164.   function.  This file is #include'd in other CEnvi sample
  165.   files.
  166. *MsgBoxes.cmd: Show various message box types using the
  167.   function in MsgBox.lib.
  168. *NamePipe.lib: Library for OS/2 Named Pipes
  169. *NoTitleB.cmd: Remove selected elements of a window title bar
  170. *NumLock.cmd: Turn on NUMLOCK key once, or maintain NUMLOCK ON.
  171.   A shadow of NumLock.cmd can be put in startup folder to
  172.   default computer to NumLock ON. "NumLock 1000" will check
  173.   every second to make sure that NUMLOCK is still set.
  174. *ObjSet.cmd: Alter WPS object and folder settings
  175. *OneADay.cmd: Perform any command(s) no more than once per day
  176. *OnTop.cmd: Float window to top of all other windows
  177. *OptParms.lib: Library of routines for parsing the optional
  178.   parameters for executing a program. #included in other files
  179. *OS2.bat: Perform OS/2 command from a DOS session, with the
  180.   option to "see" output of the command; mirrors DOS.CMD.  Note
  181.   that this requires CEnvi for DOS
  182. *OS2Demo.cmd: Combine many of CEnvi's utilities to create a
  183.   standalone demo of the OS/2 operating system: multiple
  184.   windows, configurations, sharing, etc...  This program takes
  185.   a little bit of work to set up BUT IT'S WORTH IT!
  186. *OS2Time.cmd: Show time according to computer's internal clock
  187. *OS2Wait.bat: CEnvi for DOS tool to suspend DOS session for
  188.   specified interval
  189. *Parents.cmd: Show hierarchical list of ancestor's process ID's
  190.   and names
  191. *PathAdd.cmd: Add a directory to your PATH environment
  192.   variable.
  193. *PathDel.cmd: Remove a directory from your PATH environment
  194.   variable
  195. *PathStak.cmd: Multi-level save or restore of current drive and
  196.   directory so that you can change drives and directories and
  197.   still return to this one
  198. *PMdll.lib: Example library of "wrapper" routines to function
  199.   in the PM DLL (Presentatiom Manager Dynamic Link Library).
  200.   This file is "#include"ed in many of the other example files.
  201. *Print.cmm: Copy file to printer, treating printer as a file
  202. *PrmptDay.cmd: Change command-line-prompt to display today's
  203.   date
  204. *ProcList.cmd: Show list of all running processes; their names
  205.   and ID's
  206. *Profile.lib: Function library for accessing Profiles; i.e.
  207.   .INI files
  208. *Quote.cmd: Choose a text-mode "profound" quote at random
  209. *QuotePM.cmd: Choose a PM-mode "profound" quote at random
  210. *RndBckgr.cmd: Randomly select desktop background, at specified
  211.   interval, from a list of graphic file specifications
  212. *RunTime.cmd: Rudimentary scheme for executing a command at a
  213.   certain time of day.
  214. *ScanCode.lib: Retrieve keyboard scan codes for ascii
  215.   characters
  216. *ServeOS2.com: DOS TSR to work with TextBoss.lib for complete
  217.   keyboard control of DOS sessions
  218. *Session.cmd: Replace OS/2's START command for greater control
  219.   of starting sessions, including name, position, font,
  220.   notebook settings, etc...
  221. *Sessions.cmd: batch file to demonstarte various uses of
  222.   Session.cmd
  223. *ShutDown.cmd: Automated shutdown or reboot of OS/2 system
  224. *SortLen.cmd: Sort any file based on line length
  225. *Sound.cmd: Play a frequency for a given time period
  226. *Switch.cmd: Switch foreground application to another process
  227.   base on process ID, full name, or partial name
  228. *SysInfo.cmd: Display system configuration parameters
  229. *TempFldr.cmd: Open folder temporarily, to automatically close
  230.   when it no longer has focus; good for menus
  231. *Terminal.cmd: A VERY basic terminal program; demonstrates
  232.   COMM.LIB
  233. *TextBoss.lib: Library of routines to interactively windowed
  234.   DOS or OS/2 applications: can work with ServeOS2.com
  235. *TextEcho.cmd: Demonstrate TextBoss.lib by shadowing a DOS or
  236.   OS/2 box from an OS/2 box
  237. *TextWin.cmd: GET/PUT text from/to a windowed DOS or OS/2
  238.   session
  239. *Threads.cmd: Display list of all threads in all running
  240.   processes
  241. *UnHang.cmm: Monitor your system to detect OS/2 "hangs", where
  242.   the workplace shell stops responding, then kill or otherwise
  243.   handle the application that is causing the problem
  244. *ValidDir.cmd: Verify if a directory is valid
  245. *Wait.cmd: Pause and do not return for specified number of
  246.   seconds
  247. *WinList.cmd: Display list of all PM windows
  248. *WinMsg.lib: Routines to send or post messages to PM windows
  249. *WinSet.cmd: Set the position, size, state, etc... of a PM
  250.   Window
  251. *WinSpawn.cmd: Pass simple commands to Windows session running
  252.   WinSpawn.cmm
  253. *WinSpawn.cmm: Run in Windows session from CEnvi for Windows to
  254.   receive commands from WinSpawn.lib
  255. *WinSpawn.lib: WinSpawn() function to send commands to Windows
  256.   session running CEnvi for Windows and WinSpawn.cmm
  257. *WinTools.cmd: Demonstrate many of the capabilities of
  258.   WinTools.lib
  259. *WinTools.lib: Library of routines for manipulating PM windows
  260.   by name or by handle
  261. *WIN_Boss.lib: work with CEnvi for Windows' ServeOS2.cmm
  262.   program to all full control of Windows applications from an
  263.   OS/2 script
  264. *WPFolder.cmd: Open a desktop folder for any specified
  265.   directory and optionally switch to that window
  266.  
  267.